Skip to content

Add tag-triggered gem release workflow and gate it on CI - #85

Open
atongen wants to merge 2 commits into
mainfrom
github-actions-release
Open

atongen wants to merge 2 commits into
mainfrom
github-actions-release

Conversation

@atongen

@atongen atongen commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

What's next

This PR is the first step toward fully automated releases: pushing a vX.Y.Z
tag on main runs CI, publishes the gem to RubyGems, and creates a GitHub
release with notes from CHANGELOG.md.

Follow-up work:

  • Repo settings (admin, no code):
    • Branch ruleset on main: PR + 1 approval from @DripEmail/developers
      (via CODEOWNERS), required ci-ok check, no bypass.
    • Tag rulesets for v*: only @DripEmail/developers can create release
      tags; nobody can move or delete them.
    • release environment limited to v* tags.
    • RubyGems trusted publisher for this workflow (no API key stored in GitHub).
  • Gem contents: build the gem from an explicit file list instead of
    git ls-files, so it stops shipping tests and repo tooling.
  • Release tooling: rake release:prepare[VERSION] (bump version, roll
    the changelog) and rake release:tag (pre-flight checks, then tag and push),
    so any team member can cut a release safely.
  • Release job: explicit, re-runnable build/publish steps; visible compare
    link in release notes; prerelease support (vX.Y.Z.rcN); a dry-run mode.
  • First automated release: a 3.5.1.rc1 prerelease to exercise the
    pipeline end to end, then 3.5.1. Backfill the v3.5.0 GitHub release and
    update the README release instructions.

@atongen atongen self-assigned this Oct 1, 2026
@atongen atongen changed the title Add release action Add tag-triggered gem release workflow and gate it on CI Oct 8, 2026
@atongen
atongen marked this pull request as ready for review October 8, 2026 17:54
@atongen
atongen requested a review from a team October 8, 2026 17:54
@atongen
atongen force-pushed the github-actions-release branch from 012c131 to 9f9b19b Compare October 8, 2026 18:06

@stevedrip stevedrip left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still on the side of dropping support for this gem entirely, but I would want to upgrade it first and cut a new release. This doesn't hinder that, and if we had some upgrade path to a dry swagger implementation that'd be a reasonable compromise.

No matter where we go, I see this PR as a step forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants